package org.forum.service;

import org.forum.domain.User;

public interface UserAuthorityService {

	/**
	 * 验证密码是否正确
	 * @param user
	 * @return
	 */
	public User verifyPassword(User user);
	
	/**
	 * 通过用户名得到User实体
	 * @param user
	 * @return
	 */
	public User findUserByUsername(User user);
	
}
